﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace BLL
{
    public class LotteryBuyCost_temp
    {
        private static Data.LotteryBuyCost_temp Data_Newscont = new Data.LotteryBuyCost_temp();

        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public static long Add(Model.LotteryBuyCost_temp model)
        {
            return Data_Newscont.Add(model);
        }
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        public static bool Delete(long Id)
        {
            return Data_Newscont.Delete(Id);
        }
        /// <summary>
        /// 单条
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        //public static Model.LotteryBuyCost_temp GetModel(long Id)
        //{
        //    return Data_Newscont.GetModel(Id);
        //}
        public static Model.LotteryBuyCost_temp GetModelBysql(string sql)
        {
            return Data_Newscont.GetModelBysql(sql);
        }
    }
}
